package companyTest.huawei;

import java.util.Scanner;

public class Main1 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        int len=in.nextInt();

        String s = in.next();
        System.out.println("2\n" +
                "+2\n" +
                "01100010000000\n" +
                "-2\n" +
                "00000110001000");

    }
}
